package edu.scu.declaresys.dao.intr;

import edu.scu.declaresys.exception.ExecuteException;
import edu.scu.declaresys.util.PageList;
import edu.scu.declaresys.vo.User;

/**
 * 
 * @author: zt
 * @since : 2013-7-5
 */
public interface IUserDAO extends IGeneralDAO<User>
{
	/**
	 * 
	 *@param name
	 *@param pswd
	 *@return
	 */
	public User findByNameAndPswd(String name, String pswd) 
			throws ExecuteException;
	
	public PageList<User> findUserList(Integer areaCityId,
			Integer areaCountyId, String userName, Integer role,
			int depth,
			Integer pageNum, Integer amtPerPage, String orderColumn,
			Boolean isAsc) throws ExecuteException;
	
}
